package org.video.mine.entity;

import androidx.databinding.BaseObservable;
import androidx.databinding.Bindable;

public class LoadedEntity extends BaseObservable {
    String imgUrl;
    String name;
    String size;
    String des;
    String fileDir;
    boolean check;
    boolean edit;

    public boolean isCheck() {
        return check;
    }

    public void setCheck(boolean check) {
        this.check = check;
    }

    public boolean isEdit() {
        return edit;
    }

    public void setEdit(boolean edit) {
        this.edit = edit;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    int count;

    @Bindable
    public String getFileDir() {
        return fileDir;
    }

    public void setFileDir(String fileDir) {
        this.fileDir = fileDir;
    }

    @Bindable
    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    @Bindable
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Bindable
    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    @Bindable
    public String getDes() {
        return "共"+count+"个文件";
    }

    public void setDes(String des) {
        this.des = des;
    }
}
